
<ng-template #content let-c="close" let-d="dismiss">
  <div class="modal-header">
    <h4 class="modal-title">{{title}}</h4>
    <button type="button" class="close" aria-label="Close" (click)="d('Cross click')">
      <span aria-hidden="true">&times;</span>
    </button>
  </div>
  <div class="modal-body">
    <ng-content></ng-content>
  </div>
  <div class="modal-footer">
    <button type="button" class="btn btn-primary confirm-btn" (click)="onConfirm()">确认</button>
    &nbsp;&nbsp;
    <button type="button" class="btn btn-secondary" (click)="c('Close click')">取消</button>
  </div>
</ng-template>
